package me.yobol.greentable.bean;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * @author Yobol
 *
 */
public class DishesCommentBean implements Serializable {

	private static final long serialVersionUID = 4792274648169626701L;
	
	private int dishesCommentId;
	private String dishesCommentContent;
	private Timestamp dishesCommentTime;
	private int dishesId;
	private int userId;

	public DishesCommentBean(){
		
	}
	
	public DishesCommentBean(String dishesCommentContent,Timestamp dishesCommentTime,int dishesId,int userId){
		this.dishesCommentContent = dishesCommentContent;
		this.dishesCommentTime = dishesCommentTime;
		this.dishesId = dishesId;
		this.userId = userId;
	}
	
	public DishesCommentBean(int dishesCommentId,String dishesCommentContent,Timestamp dishesCommentTime,int dishesId,int userId){
		this(dishesCommentContent,dishesCommentTime,dishesId,userId);
		this.dishesCommentId = dishesCommentId;
	}
	
	public int getDishesCommentId() {
		return dishesCommentId;
	}

	public void setDishesCommentId(int dishesCommentId) {
		this.dishesCommentId = dishesCommentId;
	}

	public String getDishesCommentContent() {
		return dishesCommentContent;
	}

	public void setDishesCommentContent(String dishesCommentContent) {
		this.dishesCommentContent = dishesCommentContent;
	}

	public Timestamp getDishesCommentTime() {
		return dishesCommentTime;
	}

	public void setDishesCommentTime(Timestamp dishesCommentTime) {
		this.dishesCommentTime = dishesCommentTime;
	}

	public int getDishesId() {
		return dishesId;
	}
	
	public void setDishesId(int dishesId) {
		this.dishesId = dishesId;
	}
	
	public int getUserId() {
		return userId;
	}
	
	public void setUserId(int userId) {
		this.userId = userId;
	}
}
